package com.hntech.rpc.server.service;

import com.hntech.rpc.api.IUserService;
import com.hntech.rpc.pojo.User;

/**
 * @Autho changqi.wu
 * @Date 路在脚下，使劲踩！
 */
public class UserServiceImpl implements IUserService {

    @Override
    public User queryUser(Long uid) {
        User user = new User();
        user.setUid(uid);
        user.setAge(Integer.valueOf(uid + 10 + ""));
        user.setName("user -" + uid);
        return user;
    }
}
